/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lt.cj.core.entity;

import java.util.List;

/*
 * @author luohong
 */
public class TMallEntity extends Entity {

    private String category;     //产品分类
    private String productUrl;   //产品页面地址
    private String shopAddr;     //店铺地址
    private String productName;  //产品名称
    private String price;        //产品价格
    private List<String> photoPath;    //下载存放的产品图片路径
    private List<String> thumbPhoPath; //下载的存放的产品小图标路径
    private String companyName;  //公司名
    private String suoZaiDi;     //所在地
    private String shangJia;     //商家
    private String countSold;    //已售出数量
    private List<String> productPropList;     //商品属性信息
    private List<String> descriptionPhos;     //商品详情里的图片
    private List<String> descriptionMeomos;   //商品详情里的文本  to do 由于脚本动态加载暂无法实现
    private List<String> comments;            //评论信息 现在保存的是JSON的文本内容

    /* 商品信息无关配置 */
    protected String origLanguage;                                              //原始数据语言
    protected String tranLanguage;                                              //翻译后数据语言

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getShangJia() {
        return shangJia;
    }

    public void setShangJia(String shangJia) {
        this.shangJia = shangJia;
    }

    public String getSuoZaiDi() {
        return suoZaiDi;
    }

    public void setSuoZaiDi(String suoZaiDi) {
        this.suoZaiDi = suoZaiDi;
    }

    public String getCountSold() {
        return countSold;
    }

    public void setCountSold(String countSold) {
        this.countSold = countSold;
    }

    public List<String> getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(List<String> photoPath) {
        this.photoPath = photoPath;
    }

    public List<String> getProductPropList() {
        return productPropList;
    }

    public void setProductPropList(List<String> productPropList) {
        this.productPropList = productPropList;
    }

    public List<String> getThumbPhoPath() {
        return thumbPhoPath;
    }

    public void setThumbPhoPath(List<String> thumbPhoPath) {
        this.thumbPhoPath = thumbPhoPath;
    }

    public List<String> getDescriptionMeomos() {
        return descriptionMeomos;
    }

    public void setDescriptionMeomos(List<String> descriptionMeomos) {
        this.descriptionMeomos = descriptionMeomos;
    }

    public List<String> getDescriptionPhos() {
        return descriptionPhos;
    }

    public void setDescriptionPhos(List<String> descriptionPhos) {
        this.descriptionPhos = descriptionPhos;
    }

    public String getShopAddr() {
        return shopAddr;
    }

    public void setShopAddr(String shopAddr) {
        this.shopAddr = shopAddr;
    }

    public List<String> getComments() {
        return comments;
    }

    public void setComments(List<String> comments) {
        this.comments = comments;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

    public String getOrigLanguage() {
        return origLanguage;
    }

    public void setOrigLanguage(String origLanguage) {
        this.origLanguage = origLanguage;
    }

    public String getTranLanguage() {
        return tranLanguage;
    }

    public void setTranLanguage(String tranLanguage) {
        this.tranLanguage = tranLanguage;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return this.getProductName();
    }
}
